package com.zc.trendsDispatch.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 电站调度历史对象 charge_station_strategy_history
 *
 * @author glb
 * @date 2024-03-05
 */
public class ChargeStationStrategyHistory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 场站编码 */
    @Excel(name = "场站编码")
    private String stationCode;

    /** 场站名称 */
    @Excel(name = "场站名称")
    private String chargeStationName;

    /** 设备编号 */
    @Excel(name = "设备编号")
    private String deviceId;

    /** 充电桩名称 */
    @Excel(name = "充电桩名称")
    private String pileName;

    /** 调度名称 */
    @Excel(name = "调度名称")
    private String dispatchName;

    /** 下发报文 */
    @Excel(name = "下发报文")
    private String setMessage;

    /** 调度内容 */
    @Excel(name = "调度内容")
    private String dispatchContent;

    /** 调度时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "调度时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date dispatchTime;

    /** 设定值 */
    @Excel(name = "设定值")
    private String setValue;

    /** 桩大输出功率 */
    @Excel(name = "桩大输出功率")
    private int maxPower;

    /** 调度类型（字典 1动态 2预测） */
    @Excel(name = "调度类型", readConverterExp = "字=典,1=动态,2=预测")
    private String dispatchType;

    /** 场站实时功率 */
    @Excel(name = "场站实时功率")
    private String stationRealPower;

    /** 可分配功率 */
    @Excel(name = "可分配功率")
    private String allocationPower;

    public void setId(Long id)
    {
        this.id = id;
    }

    public String getStationCode() {
        return stationCode;
    }

    public void setStationCode(String stationCode) {
        this.stationCode = stationCode;
    }

    public Long getId()
    {
        return id;
    }
    public void setDispatchName(String dispatchName)
    {
        this.dispatchName = dispatchName;
    }

    public String getDispatchName()
    {
        return dispatchName;
    }
    public void setDispatchContent(String dispatchContent)
    {
        this.dispatchContent = dispatchContent;
    }

    public String getDispatchContent()
    {
        return dispatchContent;
    }
    public void setDispatchTime(Date dispatchTime)
    {
        this.dispatchTime = dispatchTime;
    }

    public Date getDispatchTime()
    {
        return dispatchTime;
    }
    public void setSetValue(String setValue)
    {
        this.setValue = setValue;
    }

    public String getSetValue()
    {
        return setValue;
    }

    public int getMaxPower() {
        return maxPower;
    }

    public void setMaxPower(int maxPower) {
        this.maxPower = maxPower;
    }

    public void setDispatchType(String dispatchType)
    {
        this.dispatchType = dispatchType;
    }

    public String getDispatchType()
    {
        return dispatchType;
    }
    public void setStationRealPower(String stationRealPower)
    {
        this.stationRealPower = stationRealPower;
    }

    public String getStationRealPower()
    {
        return stationRealPower;
    }
    public void setAllocationPower(String allocationPower)
    {
        this.allocationPower = allocationPower;
    }

    public String getAllocationPower()
    {
        return allocationPower;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getSetMessage() {
        return setMessage;
    }

    public void setSetMessage(String setMessage) {
        this.setMessage = setMessage;
    }

    public String getChargeStationName() {
        return chargeStationName;
    }

    public void setChargeStationName(String chargeStationName) {
        this.chargeStationName = chargeStationName;
    }

    public String getPileName() {
        return pileName;
    }

    public void setPileName(String pileName) {
        this.pileName = pileName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this)
                .append("id", id)
                .append("stationCode", stationCode)
                .append("chargeStationName", chargeStationName)
                .append("deviceId", deviceId)
                .append("pileName", pileName)
                .append("dispatchName", dispatchName)
                .append("setMessage", setMessage)
                .append("dispatchContent", dispatchContent)
                .append("dispatchTime", dispatchTime)
                .append("setValue", setValue)
                .append("maxPower", maxPower)
                .append("dispatchType", dispatchType)
                .append("stationRealPower", stationRealPower)
                .append("allocationPower", allocationPower)
                .toString();
    }
}
